package com.ruoyi.client.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 购物车页面购物项VO
 */
@Data
@ApiModel("返回的购物车数据")
public class CartVo {

    @ApiModelProperty(value = "购物车id", position = 1)
    private Long id;

    @ApiModelProperty(value = "用户id", position = 2)
    private Long userId;

    @ApiModelProperty(value = "商品id", position = 3)
    private Long productId;

    @ApiModelProperty(value = "商品数量", position = 4)
    private Long count;

    @ApiModelProperty(value = "是否勾选(0-否,1-是)", position = 5)
    private Integer checked;

    @ApiModelProperty(value = "商品标题", position = 6)
    private String productTitle;

    @ApiModelProperty(value = "商品图片", position = 7)
    private String productPic;

    @ApiModelProperty(value = "商品价格", position = 8)
    private java.math.BigDecimal productPrice;

}